package com.foreverwin.mes.integration.soap.material.dto;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;
import java.util.List;

/**
 * @author Ervin Chen
 * @date 2020/1/8 18:23
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "MaterialReplicateRequest", propOrder = {
        "transactionId",
        "transactionTime",
        "materialBasicData",
        "materialPlantDatas"
})
public class MaterialReplicateRequest {

    @XmlElement(name = "transactionId", required = true)
    private String transactionId;

    @XmlElement(name = "transactionTime", required = true)
    private String transactionTime;

    @XmlElement(name = "materialBasicData", required = true)
    private MaterialBasicData materialBasicData;

    @XmlElement(name = "materialPlantDatas", required = true)
    private List<MaterialPlantData> materialPlantDatas;

    public String getTransactionId() {
        return transactionId;
    }

    public void setTransactionId(String transactionId) {
        this.transactionId = transactionId;
    }

    public String getTransactionTime() {
        return transactionTime;
    }

    public void setTransactionTime(String transactionTime) {
        this.transactionTime = transactionTime;
    }

    public MaterialBasicData getMaterialBasicData() {
        return materialBasicData;
    }

    public void setMaterialBasicData(MaterialBasicData materialBasicData) {
        this.materialBasicData = materialBasicData;
    }

    public List<MaterialPlantData> getMaterialPlantDatas() {
        return materialPlantDatas;
    }

    public void setMaterialPlantDatas(List<MaterialPlantData> materialPlantDatas) {
        this.materialPlantDatas = materialPlantDatas;
    }
}
